﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameSetting.Global
{
    /// <summary>
    /// 保存jxqy.ini设置信息
    /// </summary>
    public class Settings
    {
        /// <summary>
        /// 游戏类型
        /// </summary>
        public int Type { get; set; }=(int)(GameType.Sword2);
        /// <summary>
        /// 窗口模式
        /// </summary>
        public int FullScreen { get; set; } = 1;
        /// <summary>
        /// 音效音量 0-100
        /// </summary>
        public int SoundEffectVolume { get; set; } = 100;
        /// <summary>
        /// 音乐音量 0-100
        /// </summary>
        public int MusicVolume { get; set; } = 100;
        /// <summary>
        /// 跑图模式 0
        /// </summary>
        public int IsUseThewWhenNormalRun { get; set; } = 1;
        /// <summary>
        /// 跑图速度 1-8
        /// </summary>
        public int RunSpeedFold { get; set; } = 4;
        /// <summary>
        /// 分辨率：宽度
        /// </summary>
        public int Width { get; set; } = 1280;
        /// <summary>
        /// 分辨率：高度
        /// </summary>
        public int Height { get; set; } = 960;
        /// <summary>
        /// 作弊模式
        /// </summary>
        public int DebugMode { get; set; } = 0;
        public int SaveLoadSelectionIndex { get; set; } = 1;
        public int MaxMagicUnit { get; set; } = 0;
    }
    public enum GameType : int
    {
        Sword2 = 0,
        Sworda = 1,
        NewSword = 2
    }
}
